package com.itrui.user.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName business
 */
@TableName(value ="business")
@Data
public class Business implements Serializable {
    /**
     * id
     */
    @TableId
    private Long id;

    /**
     * 名字
     */
    private String name;

    /**
     * 账号
     */
    private Integer account;

    /**
     * 密码
     */
    private String password;

    /**
     * 状态：0：拉黑，1：正常
     */
    private Integer status;

    /**
     * 注册时间
     */
    private LocalDateTime createTime;

    /**
     * 头像
     */
    private Integer photo;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}